Automatic Power Factor Correction: A Practical Training Course